import axios from "@/api/http";
//@ts-ignore
import qs from 'qs'

const queryList = (params: any = {}) => {
    return axios.post('/chat/comment/queryList', params)
}

const commentRootQueryList = (params: any = {}) => {
    return axios.post('/chat/comment/commentRootQueryList', params)
}
const commentReplyQueryList = (params: any = {}) => {
    return axios.post('/chat/comment/commentReplyQueryList', params)
}
const removeCommentById = (params: any = {}) => {
    return axios.post('/chat/comment/removeCommentById', qs.stringify(params))
}
const removeReplyById = (params: any = {}) => {
    return axios.post('/chat/comment/removeReplyById', qs.stringify(params))
}
export default {
    queryList,
    commentRootQueryList,
    commentReplyQueryList,
    removeCommentById,
    removeReplyById,
}
